package com.sunny.dao;

import com.sunny.pojo.House;
import com.sunny.pojo.SelectHouseCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(House record);

    int insertSelective(House record);

    House selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(House record);

    int updateByPrimaryKey(House record);

    int deleteByIds(@Param("idList") List<String> idList);

    List<House> selectHouseByHouse(House house);

    List<House> selectHouseByHouseOne(House house);

    List<House> selectHouseBySelectHouseCondition(SelectHouseCondition selectHouseCondition);

    int passHouseByHouse(House house);
}